package homework6;

import java.util.Date;

public class Test3 {
    public static void main(String[] args) {
        while (true) {
            try {
                Date now = new Date();
                System.out.println(now);
                Thread.sleep(1000);
            } catch (InterruptedException e) {
            }
        }
    }
}
